package priv.yiyuan.example.design.wrapper;

/**
 * 武器
 * <p>
 * 装饰器模式-具体装饰器
 *
 * @author YiYuan
 * @data 2025/9/2
 * @apoNote
 */
public class WeaponDecorator extends EquipmentDecorator {

    public WeaponDecorator(GameCharacter character) {
        super(character);
    }

    @Override
    public int getAttack() {
        return super.getAttack() + 30;
    }

    @Override
    public String getDescription() {
        return super.getDescription() + ", 装备武器";
    }
}
